package VN.EDU.IMIC.DEVELOPER.DOTHANHTUNG.EXAM1.BAI2;

public class Model {
	public String toString (Object obj){
		return ((Student)obj).PrintStudentInfo(obj);
	}
	
	public String printResult(Object obj){
		return ((Student)obj).CheckMarks(obj);
	}
	
	public String compareStudent(Object obj1, Object obj2){
		String compareResult = "";
		if (((Student)obj1).CompareTo(obj1, obj2)){
			return compareResult = "Bang ket qua";
		}
		return compareResult = "Khong bang ket qua";
	}
}
